
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/common/taglibs.jsp"%>

<c:out value="${current_location}" escapeXml="false" />

<TABLE class="tb_input" cellSpacing="1" width="100%">
<html:form action="/business/system/saveSysLog" method="post" styleId="sysLogForm" onsubmit="return validateSysLogForm(this)">

	<TR style="display:none">
		<TD colspan="100">
			<html:hidden property="logId"/>
		</TD>
	</TR>

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.userId"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="userId" styleId="userId"/>
	    	<html:errors property="userId"/>
	    </TD>
	</TR>

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.userName"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="userName" styleId="userName"/>
	    	<html:errors property="userName"/>
	    </TD>
	</TR>		

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.loginId"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="loginId" styleId="loginId"/>
	    	<html:errors property="loginId"/>
	    </TD>
	</TR>		

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.logContent"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="logContent" styleId="logContent"/>
	    	<html:errors property="logContent"/>
	    </TD>
	</TR>		

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.createdBy"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="createdBy" styleId="createdBy"/>
	    	<html:errors property="createdBy"/>
	    </TD>
	</TR>		

    <TR>
		<TD noWrap class="td_title" width="15%">
	        <stl:label styleClass="desc" key="sysLogForm.createdDate"/>
	    </TD>
	    <TD class="td_detail" width="85%">
	        <html:text property="createdDate" styleId="createdDate"/>
	    	<html:errors property="createdDate"/>
	    </TD>
	</TR>		

	<TR style="display:none">
		<TD colspan="100">
			<html:hidden property="${sysLogForm.wtSysFunctionId}" value="1" />
			<html:hidden property="${sysLogForm.wtSysScopeId}" value="1" />
			<html:hidden property="${sysLogForm.wtSysScopeId2}" value="1" />
			<html:hidden property="perPageSize" />
			<html:hidden property="pageNumber" />			
		</TD>
	</TR>

    <TR align="right">
    	<TD colspan="100" noWrap class="td_input">
	        <html:submit styleClass="button" property="method.save" onclick="bCancel=false">
	            <fmt:message key="button.save"/>
	        </html:submit>
            <c:if test="${operationParam == 'edit'}">
	        <html:submit styleClass="button" property="method.delete" onclick="bCancel=true; return confirmDelete('SysLog')">
	            <fmt:message key="button.delete"/>
	        </html:submit>
            </c:if>
	        <html:cancel styleClass="button" onclick="bCancel=true">
	            <fmt:message key="button.cancel"/>
	        </html:cancel>
	    </TD>
	</TR>
</html:form>
</TABLE>

<html:javascript formName="sysLogForm" cdata="false" dynamicJavascript="true" staticJavascript="false"/>
<script type="text/javascript" src="<html:rewrite page="/scripts/validator.jsp"/>"></script>
